import { Tabs } from 'antd';

export const AxTabs = props => {
  const { children, ...rest } = props;

  return (
    <Tabs size="small" {...rest}>
      {children}
    </Tabs>
  );
};

export const AxTabPane = props => {
  const { children, ...rest } = props;

  return (
    <Tabs.TabPane style={{ minHeight: 300 }} {...rest}>
      {children}
    </Tabs.TabPane>
  );
};
